package com.scujj.cs6.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.scujj.cs6.model.entity.UserFavorite;
import com.scujj.cs6.model.vo.UserFavoriteVo;
import jakarta.servlet.http.HttpServletRequest;

import java.util.List;

/**
* @author FlanChan
* @description 针对表【user_favorite】的数据库操作Service
* @createDate 2025-03-25 21:21:24
*/
public interface UserFavoriteService extends IService<UserFavorite> {
    void favoriteAnswer(Long id, HttpServletRequest request);

    void cancelFavorite(Long id, HttpServletRequest request);

    List<UserFavoriteVo> getFavorites(HttpServletRequest request);
}
